package com.qf.clients;

import com.qf.pojo.repVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
//fallback 退路方法
@FeignClient(name = "qflive-course",path = "/course",fallback = CourseClientFallBack.class)
public interface CourseClient {
    @RequestMapping("/findCourseDetailById/{id}")
    public BaseResp findCourseDetailById(@PathVariable("id")Integer id);
}
